package com.colaiven.hbastest;

import com.colaiven.hbastest.config.NettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.net.InetSocketAddress;

@SpringBootApplication
//@EnableScheduling   //开启定时任务
public class HbastestApplication {

    public static void main(String[] args) {
        SpringApplication.run(HbastestApplication.class, args);
        //启动服务端
        NettyServer nettyServer = new NettyServer();
        nettyServer.start(8090);
    }

}
